# -*- coding: utf-8 -*-

# Scrapy settings for zms project
#
# For simplicity, this file contains only the most important settings by
# default. All the other settings are documented here:
#
#     http://doc.scrapy.org/en/latest/topics/settings.html
#

BOT_NAME = 'zms'

SPIDER_MODULES = ['zms.spiders']
NEWSPIDER_MODULE = 'zms.spiders'
#ITEM_PIPELINES = ['scrapy.contrib.pipeline.images.ImagesPipeline']
# 打开图片下载pipeline
ITEM_PIPELINES = {'scrapy.contrib.pipeline.images.ImagesPipeline':1}
IMAGES_STORE = '/Users/mac/Pictures/zms1/' #设置图片下载路径

# Crawl responsibly by identifying yourself (and your website) on the user-agent
#USER_AGENT = 'zms (+http://www.yourdomain.com)'
